package stringManipulations;

public class ContainsInt {

	public void run(){
		String s = "abcdefghijklmnopqrst";
		for(int i = 0; i <10; i++){
			if(s.contains(""+i)) System.out.println("1 Found int...BAD");
		}
		s = "ABCDEFGHIJKLMN5OPQRSTUVWXYZ";
		for(int i = 0; i <10; i++){
			if(s.contains(""+i)) System.out.println("2 Found int...GOOD" + " on " + i);
		}
		s = "AB1DEFGH9JKLMN5OPQRSTUV3XYZ";
		for(int i = 0; i < 10; i++){
			if(s.contains(""+i)) System.out.println("3 Found int...GOOD" + " on " + i);
		}
	}
	
	public static void main(String[] args) {
		ContainsInt ci = new ContainsInt();
		ci.run();
	}

}
